package com.gxa.meiye.admin.platform.service.impl;

import com.gxa.meiye.admin.platform.mapper.OrdermanageMapper;
import com.gxa.meiye.admin.platform.pojo.vo.*;
import com.gxa.meiye.admin.platform.service.OrderManageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderManageServiceImpl implements OrderManageService {

    @Resource
    private OrdermanageMapper ordermanageMapper;

    @Override
    public List<OrderManageVo> queryAll() {
        List<OrderManageVo> orderManageVos = this.ordermanageMapper.queryAll();
        return orderManageVos;
    }

    @Override
    public List<OrderManageVo> selectAll(Integer status, String begintime, String endtime, String tempall) {
        List<OrderManageVo> orderManageVos = this.ordermanageMapper.selectAll(status, begintime, endtime, tempall);
        return orderManageVos;
    }

    @Override
    public List<OrderManageVo> selectAll0(Integer status,String begintime, String endtime, String tempall) {
        List<OrderManageVo> orderManageVos = this.ordermanageMapper.selectAll0(status,begintime, endtime, tempall);
        return orderManageVos;
    }

    @Override
    public List<CustomerMationVo> queryUser(String order_num, Integer status) {
        List<CustomerMationVo> customerMationVos = this.ordermanageMapper.queryUser(order_num, status);
        return customerMationVos;
    }

    @Override
    public List<ProjectMationVo> queryProject(String order_num, Integer status) {
        List<ProjectMationVo> projectMationVos = this.ordermanageMapper.queryProject(order_num, status);
        return projectMationVos;
    }

    @Override
    public List<ServiceMationVo> queryService(String order_num, Integer status) {
        List<ServiceMationVo> serviceMationVos = this.ordermanageMapper.queryService(order_num, status);
        return serviceMationVos;
    }

    @Override
    public List<OrderMationVo> queryOrder(String order_num, Integer status) {
        List<OrderMationVo> orderMationVos = this.ordermanageMapper.queryOrder(order_num, status);
        return orderMationVos;
    }
}
